//
//  ViewController.m
//  Quartz Parchment Shears
//
//  Created by iD Student on 7/8/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    welcomeMessage = [[NSString alloc] initWithString:@"Welcome!"];
    welcomeLabel.text = welcomeMessage;
    currentChoice = [[NSMutableString alloc] initWithString:@""];
    choiceLabel.text = currentChoice;
}

- (IBAction) rockButtonPressed:(id)sender
{
    player1ImageView.image = [UIImage imageNamed:@"Soundtube Rock Solid rgb(1).jpg"];
    choiceLabel.text = [NSString stringWithFormat:@"You Chose Rock!"];
}

- (IBAction) paperButtonPressed:(id)sender
{
    player1ImageView.image = [UIImage imageNamed:@"paper-with-writing-clip-art.jpg"];
    choiceLabel.text = [NSString stringWithFormat:@"You Chose Paper!"];
}

- (IBAction) scissorsButtonPressed:(id)sender
{
    player1ImageView.image = [UIImage imageNamed:@"scissors-open1.jpg"];
    choiceLabel.text = [NSString stringWithFormat:@"You Chose Scissors!"];
}



- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc {
    [welcomeLabel release];
    [welcomeLabel release];
    [choiceLabel release];
    [super dealloc];
}
@end
